package com.hn658.groupshare.group.dao.db.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.hn658.framework.dataaccess.mybatis.AbstractMyBatisDAO;
import com.hn658.framework.dataaccess.mybatis.MyBatisPostfixConstants;
import com.hn658.groupshare.group.dao.db.IGroupInfoDbDao;
import com.hn658.groupshare.group.entity.GroupInfoEO;

@Repository
public class GroupInfoDbDaoImpl extends AbstractMyBatisDAO<GroupInfoEO, Long>implements IGroupInfoDbDao {

	@Override
	public List<GroupInfoEO> queryUnExpireGroupList() {
		return getSqlSession().selectList("selectUnExpire");
	}

	@Override
	public List<GroupInfoEO> queryGroupList(Map<String, Object> params) {
		return getSqlSession().selectList(this.mapperNamespace + MyBatisPostfixConstants.SELECT_BY_MAP,params);
	}


}
